package com._520it.crm.service.impl;

import com._520it.crm.domain.BankName;
import com._520it.crm.mapper.BankNameMapper;
import com._520it.crm.service.IBankNameService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BankNameServiceImpl implements IBankNameService {

    @Autowired
    private BankNameMapper bankNameMapper;

    @Override
    public BankName selectByPrimaryKey(Long id) {
        return bankNameMapper.selectByPrimaryKey(id);
    }

    @Override
    public List<BankName> selectAll() {
        return bankNameMapper.selectAll();
    }
}
